﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ObjectListExample.aspx.cs" Inherits="Examples_ObjectListExample" %>
<%@ Register TagPrefix="mobile" 
    Namespace="System.Web.UI.MobileControls"
    Assembly="System.Web.Mobile" %>
    
<mobile:Form runat="server" >
    <mobile:Label runat="server" StyleReference="title">
        Season 2003 results</mobile:Label>
    <mobile:ObjectList id="ObjectList1" runat="server">
        AutoGenerateFields="false">
        <Field Title="Team" DataField="TeamName"></Field>
        <Field Title="Won" DataField="Won"></Field>
        <Field Title="Drawn" DataField="Drawn"></Field>
        <Field Title="Lost" DataField="Lost"></Field>
        <Field Title="Pts" DataField="Points" Visible="false"></Field>
    </mobile:ObjectList>
</mobile:Form>